# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=deepin-polkit-agent-ext-gnomekeyring
pkgver=0.1.0
pkgrel=2
pkgdesc="GNOME keyring extension for dde-polkit-agent"
arch=('loong64' 'x86_64')
url="https://github.com/linuxdeepin/dpa-ext-gnomekeyring"
license=('GPL3')
depends=('deepin-polkit-agent' 'deepin-qt5integration' 'libgnome-keyring')
makedepends=('qt5-tools')
groups=('deepin')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dpa-ext-gnomekeyring/archive/$pkgver.tar.gz")
sha512sums=('c9c4acf69157243dd04361e36a7d428841f1ffe30dd23503f163d82561a3a350a175d22e4afcd142ce7e0b1e523245989d55dd760201d1598115f93f9a939e03')

build() {
  cd dpa-ext-gnomekeyring-$pkgver

  qmake-qt5
  make
}

package() {
  cd dpa-ext-gnomekeyring-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
